<li><img src="<?php echo $data->p->pphoto;?>">
    <p><a href="<?php echo Yii::app()->createUrl('users/index', array('id'=>$data->id));?>"><?php echo $data->p->nickname;?></a></p>
    <p><?php echo $data->p->jobtitle;?></p>
</li>